import {
  IsString,
  IsNotEmpty,
  IsOptional,
  IsNumber,
} from 'class-validator';

export class CreateTodoReplyDto {
  @IsNotEmpty()
  @IsString()
  todoid: string;

  @IsNotEmpty()
  @IsString()
  replycontent: string;

  @IsOptional()
  @IsString()
  picture?: string;

  @IsNotEmpty()
  @IsNumber()
  author: number;
} 